% Scheme 48 documentation

\documentclass[twoside]{report}
\usepackage{tex2page}

\usepackage{longtable}
\usepackage{alltt}
\usepackage{makeidx}
\usepackage{matter}
\usepackage{ifpdf}

\input{myindex}
\input{proto}
\input{hacks}

\makeindex

% \includeonly{module}

\let\url\relax
\ifpdf
\usepackage[pdftex,hyperindex,
     pdftitle={The Incomplete Scheme 48 Reference Manual},
     pdfauthor={Richard Kelsey, Jonathan Rees, Mike Sperber}
     colorlinks=true,linkcolor=blue,pagecolor=blue,urlcolor=blue,
     pdfstartview=FitH,pdfview=FitH]{hyperref}
\usepackage{thumbpdf}
\usepackage{tocbibind}
\else
\usepackage[dvipdfm,hyperindex,hypertex,
     pdftitle={The Incomplete Scheme 48 Reference Manual},
     pdfauthor={Richard Kelsey, Jonathan Rees, Mike Sperber}
     colorlinks=true,linkcolor=blue,pagecolor=blue,urlcolor=blue,
     pdfstartview=FitH,pdfview=FitH]{hyperref}
\fi
\endtexonly

%%% End preamble

\begin{document}
\frontmatter
\label{top_node}

\texonly
\title{{\large The Incomplete} \\ Scheme 48 Reference Manual \\
 {\large for release \input{version-number}}}
\endtexonly
\htmlonly
\title{The Incomplete Scheme 48 Reference Manual for release \input{version-number}}
\endhtmlonly
\author{Richard Kelsey \and Jonathan Rees \and Mike Sperber}
\date{}

\maketitle

\begin{verse}
A line may take us hours, yet if it does not seem a moment's thought \\
All our stitching and unstitching has been as nought.
\end{verse}
\texonly
\begin{tabbing}
A line may take us hours, yet if it does not seem\= \kill
\> Yeats \\
\> {\em Adam's Curse}
\end{tabbing}
\endtexonly
\htmlonly
\begin{tabular}{ll}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ & Yeats \\
& {\em Adam's Curse}
\end{tabular}
\endhtmlonly

\chapter*{Acknowledgements}

Thanks to Scheme~48's users for their suggestions, bug reports,
  and forbearance.
Thanks also to Deborah Tatar for providing the Yeats quotation.

\tableofcontents

\texonly
\cleardoublepage\pagenumbering{arabic}\setcounter{page}{1}
\endtexonly

\mainmatter
\include{intro}
\include{user-guide}
\include{command}
\include{module}
\include{utilities}
\include{thread}
\include{external}
\include{posix}
\include{ascii}
\include{bibliography}

\backmatter
\printindex

\end{document}    
